package cn.net.cfss.fgbp.api.console.inte;

import cn.net.cfss.fgbp.api.console.constant.Constants;
import cn.net.cfss.fgbp.api.console.dto.SysUserMenufieldDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author wutao
 * @version 1.0
 * @date 2021/3/18 16:06
 */
@FeignClient(name = Constants.SPI_SERVER_NAME)
@RequestMapping("sysUserMenufield")
public interface ISysUserMenufieldService {

    /**
     * 查询
     *
     * @param
     * @return
     */
    @RequestMapping(value = "/selectOne", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    public SysUserMenufieldDto selectOne(@RequestBody SysUserMenufieldDto sysUserMenufieldDto);

    /**
     * 新增
     *
     * @param
     * @return
     */
    @RequestMapping(value = "/addOrUpdate", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    public SysUserMenufieldDto addOrUpdate(@RequestBody SysUserMenufieldDto sysUserMenufieldDto);
}
